<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>测试js语法</title>
		<!--2.内部js*-->
		<script type="text/javascript">
			alert(666);
			
		</script>
	</head>
	<body>
		<!--1.行内js*-->
		<a href="#" onclick="alert(100)">onclick单击</a>
		<a href="#" ondblclick="alert(200)">ondblclick双击</a>
		<a href="#" onmouseenter="alert(300)">划入弹窗</a>
		<a href="#" onmouseleave="alert(400)">划出弹窗</a>
		<a href="#" onmouseout="alert(500)">划出弹窗</a>
		
	</body>
</html>
